import request from "../utils/request"

// 获取首页导航tabbar列表/查询产品导航
export const geListNav = () => {
  return request({
    url: "/nav/get",
    method: "POST"
  })
}

// 获取新闻列表
export const getNewsList = (data) => {
  return request({
    url: "/news/get",
    method: "POST",
    data
  })
}

// 获取新闻详情
export const getNewsDetail = (data) => {
  return request({
    url: "/news/detail",
    method: "POST",
    data
  })
}

// 获取产品列表数据
export const getProductList = (data) => {
  return request({
    url: "/product/getlist",
    method: "POST",
    data
  })
}


// 获取产品详情
export const getProductDetail = (data) => {
  return request({
    url: "/product/detail",
    method: "POST",
    data
  })
}